<!-- 客服 -->
<template>
    <web-view :src="url" :progress="false"></web-view>
</template>

<script>
    export default {
        data() {
            return {
                url: '',
                title: ''
            }
        },
        onLoad(op) {
            console.log(op.url)
            this.url = decodeURIComponent(op.url);
            console.log(this.url)
        },
        //改变标题
        onReady() {
            uni.setNavigationBarTitle({
                title: this.title
            })
        }
    }
</script>
